SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a51bb2765b35e8d2ba465542511d66311b3a49b860e5d358052306d14512e2e' 
  AND token = 'jn5/ixxane+CY+ARCIi1yU/ovcUSKXVb5QHEI8UbLxw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}